package hotel.switchs.oversea.api.entity;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "switch_set_room_sale_rule")
public class SwitchSetRoomSaleRuleEntity implements Serializable {
    private String id;

    private Integer hotelId;

    private Integer roomTypeId;

    private String roomTypeName;

    private Boolean setStripDailyRule;

    private Date createTime;

    private String saleRuleListJson;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public Integer getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(Integer roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public String getRoomTypeName() {
        return roomTypeName;
    }

    public void setRoomTypeName(String roomTypeName) {
        this.roomTypeName = roomTypeName == null ? null : roomTypeName.trim();
    }

    public Boolean getSetStripDailyRule() {
        return setStripDailyRule;
    }

    public void setSetStripDailyRule(Boolean setStripDailyRule) {
        this.setStripDailyRule = setStripDailyRule;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSaleRuleListJson() {
        return saleRuleListJson;
    }

    public void setSaleRuleListJson(String saleRuleListJson) {
        this.saleRuleListJson = saleRuleListJson == null ? null : saleRuleListJson.trim();
    }
}
